add_library(db STATIC)

target_sources(db
    PRIVATE
        ServiceDB.cpp
        PureFactorySettings.cpp
    PUBLIC
        include/db/ServiceDB.hpp
        include/db/PureFactorySettings.hpp
)

target_include_directories(db
    PUBLIC
        $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
)

target_link_libraries(db
   PRIVATE
        module-db
        service-db
        crashdump-metadata-store
)
